package com.onlyphoto.onlymall.mvp.contract

import com.onlyphoto.onlymall.base.IBasePresenter
import com.onlyphoto.onlymall.base.IBaseView
import com.onlyphoto.onlymall.bean.request.GoodsCondition
import com.onlyphoto.onlymall.bean.response.GoodsBean


interface CSearch {

    interface IPSearch : IBasePresenter {
        fun getTopSearch()
        fun search(condition: GoodsCondition)
    }

    interface IVSearch : IBaseView {
        fun getTopSearchSuccess(list: ArrayList<String>)
        fun searchSuccess(list: ArrayList<GoodsBean>)
    }
}